package com.daoeping.dao;

import java.util.List;

import com.daoeping.data.Bsc_address;


public class Bsc_addressDAO extends AllDaoSupport {
	public List<Bsc_address> findBsc_addressList(){
		String hql = "from Bsc_address";
		return (List<Bsc_address>) this.selectDataByHQL(hql);
	}
	
	public List<Bsc_address> findBsc_addressByID(int id){
		String hql = "from Bsc_address where id =" + id;
		return (List<Bsc_address>) this.selectDataByHQL(hql);
	}
}